package com.example.xungeng2.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

@Data
@NoArgsConstructor
@TableName("send_info")
public class SendInfo implements Serializable {
    private Integer id;

    /**
     * 管理员Id
     */
    private Integer adminId;

    /**
     * 巡更人员Id
     */
    private Integer userId;

    /**
     * 消息标题
     */
    private String title;

    /**
     * 消息内容
     */
    private String content;

    /**
     * 消息图片
     */
    private String imgUrl;

    private String createTime;

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private Map<String,Object> param = new HashMap<>();
}
